//
//  yuvconvert.h
//  OSD_test
//
//  Created by gehj on 2023/2/10.
//

#ifndef yuvconvert_h
#define yuvconvert_h

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
void NV16_to_YU16(unsigned char* yuv422sp,
                         unsigned char* yuv422p,
                  int width, int height);
void NV61_to_YV16(unsigned char* yuv422sp,
                         unsigned char* yuv422p,
                  int width, int height);
void YU16_to_NV16(unsigned char* yuv422p,
                         unsigned char* yuv422sp,
                  int width, int height);
void YV16_to_NV61(unsigned char* yuv422sp,
                         unsigned char* yuv422p,
                  int width, int height);

#endif /* yuvconvert_h */
